package com.ohuang.wallpapermanager.wallpaper

import com.ohuang.wallpapermanager.compose.tryCatch
import com.ohuang.wallpapermanager.util.AppUtil

object CarouselWallPaperDispatch {

    fun changeWallPaper() {
        tryCatch {
            val carouselWallPaperLock = CarouselWallPaper(isLock = true)
            carouselWallPaperLock.run(AppUtil.getInstance().context)
        }

        tryCatch{
            val carouselWallPaperHome = CarouselWallPaper(isLock = false)
            carouselWallPaperHome.run(AppUtil.getInstance().context)
        }


    }

}